package nuaa.domain;

import java.io.Serializable;
import java.sql.Date;

/**
 * 评价
 */
public class Evaluation implements Serializable {
    private Integer userId;         //评价人
    private String userName;        //评价人姓名
    private Integer theOtherId;     //被评价人Id
    private Double score;           //评价分数
    private Date time;              //评价日期

    @Override
    public String toString() {
        return "Evaluation{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", theOtherId=" + theOtherId +
                ", score=" + score +
                ", time=" + time +
                '}';
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getTheOtherId() {
        return theOtherId;
    }

    public void setTheOtherId(Integer theOtherId) {
        this.theOtherId = theOtherId;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
